import port from '../../utils/port'


// 公告列表
export const noticeList = (data) => {
	return port({
		url: '/pc/notice/list',
		method: 'post',
		data
	})
}

// 公告上下架
export const noticeChangeSta = (data) => {
	return port({
		url: '/pc/notice/changeSta',
		method: 'post',
		data
	})
}

// 公告保存
export const noticeSave = (data) => {
	return port({
		url: '/pc/notice/save',
		method: 'post',
		data
	})
}


// 公告删除
export const noticeDel = (data) => {
	return port({
		url: '/pc/notice/del',
		method: 'post',
		data
	})
}
